.w {
    width: 1000px;
    margin: 0 auto;
}

.head {
    position: fixed;
    background-color: white;
    width: 100%;
    height: 70px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.head-wrapper {
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content:center;
}

h1 {
    height: 100%;
    width: 300px;
    font-size: 40px;
    line-height: 70px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 2px rgba(140, 140, 140, .6);
}

.add-input {

    width: 400px;
    height: 35px;
    padding: 0 10px;
    font-size: 16px;
    color: rgb(86, 86, 86);
    border: 1px solid gray;
    border-radius: 10px;
    outline: none;
}

.body {
    margin-top: 40px;
}

.body ul {
    width: 60%;
}

.body ul li {
    width: 100%;
    height: 90px;
    margin-bottom: 30px;
    border-radius: 15px;
    background-color: rgb(243, 243, 243);
    overflow: hidden;
}

.body ul li .content {
    color: rgb(63, 63, 63);
    font-size: 28px;
    line-height: 52px;
    padding: 5px 20px;
}

.body ul li .time {
    font-size: 16px;
    line-height: 30px;
    padding-left: 20px;
    color: rgb(126, 126, 126);
    background-color: rgb(248, 248, 248);
}
.body ul li .delete {
    float: right;
    margin-top: -70px;
    margin-right: 20px;
    width: 30px;
    height: 25px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 700;
    background-color: rgb(246, 88, 88);
    color: rgb(244, 247, 249);
    border: none;
}
@media screen and (max-width:900px){
    .head {
        position: fixed;
        background-color: white;
        width: 100%;
        height: 70px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    .w {
        width: 100%;
        margin: 0 auto;
    }
    
    
    .head-wrapper {
    padding:0;
        display: flex;
        align-items: center;
        justify-content:space-around;
    }
    
    h1 {
        height: 100%;
        width: 30%;
        padding:0 10px;
        font-size: 20px;
        line-height: 70px;
        letter-spacing: 3px;
        text-shadow: 2px 2px 2px rgba(140, 140, 140, .6);
    }
    
    .add-input {
    
        width: 48%;
        height: 35px;
        padding: 0 10px;
        font-size: 16px;
        color: rgb(86, 86, 86);
        border: 1px solid gray;
        border-radius: 10px;
        outline: none;
    }
    
    .body {
        margin-top: 40px;
    }
    
    .body ul {
        width: 80%;
    }
    
    .body ul li {
        width: 100%;
        height: 90px;
        margin-bottom: 30px;
        border-radius: 15px;
        background-color: rgb(243, 243, 243);
        overflow: hidden;
    }
    
}